package cn.iocoder.yudao.module.project.controller.admin.kismaterialreceipt.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 物料入库单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class KisMaterialReceiptPageReqVO extends PageParam {
    @Schema(description = "入库单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22079")
    private String receiptCode;

    @Schema(description = "物料入库日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] receiptDate;

    @Schema(description = "供应商编码")
    private String supplier;
    private String supplierId;
    private String supplierName;

    @Schema(description = "审核标志")
    private String auditMark;

    @Schema(description = "编号(批次号)")
    private String code;
    private String batchCode;

    @Schema(description = "收料仓库")
    private String warehouse;

    @Schema(description = "物料长代码")
    private String materialCode;

    @Schema(description = "物料名称", example = "芋艿")
    private String materialName;

    @Schema(description = "规格型号")
    private String specification;

    @Schema(description = "应收数量")
    private Double receivableNum;

    @Schema(description = "实收数量")
    private Double actualNum;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "源单单号")
    private String materialNumber;

    @Schema(description = "源单类型", example = "1")
    private String materialType;

    @Schema(description = "部门")
    private String dept;

    @Schema(description = "业务员")
    private String operator;

    @Schema(description = "批号(可能为空,批次号用code)")
    private String batchNumber;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "日期")
    private String dateStr;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "查询日期,用于查询条件")
    private String[] dateReq;

}